package jtk.project4.fleet.field;

import java.awt.Dimension;

import nl.coderight.jazz.form.FormLayout;
import nl.coderight.jazz.form.control.GroupControl;
import nl.coderight.jazz.form.field.ComboField;
import nl.coderight.jazz.form.field.button.PushButton;

public class NewEquipmentGeneralEmailNotifications extends GroupControl{
	
	private ComboField emailNotificationField;
		
	public NewEquipmentGeneralEmailNotifications(String bindID){
		setTitle("header.Assignment");
		setBindID(bindID);
		createFields();
		createLayout();
	}
	
	private void createFields(){
		emailNotificationField = new ComboField("equipments","emailnotification");
		emailNotificationField.setPreferredSize(new Dimension(160, 20));
	}
	
	private void createLayout() {
		setLayout(new FormLayout())
		.addLabel("Recipient(s):")		.addField(emailNotificationField);
	}
	
}
